#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

void multiplication(int num)
{
	for (int i = 1; i <= num; i++)
	{
		for (int j = 1; j <= i; j++)
		{
			printf("%2d*%-2d=%-3d ", j,i,i*j);
		}
		printf("\n");
	}
}

int main()
{
	multiplication(12);
	return 0;
}